#ifndef CANIMATIONMANAGER_H
#define CANIMATIONMANAGER_H

#include <QPropertyAnimation>
#include <QMutex>

class CAnimationManager
{
public:
    explicit CAnimationManager();

    void addAnimation(QAbstractAnimation* animTask);
    void runTaskQueue();

private:
    QList<QAbstractAnimation*>    animTaskQueue;
    QMutex                        animLock;
};

#endif // CANIMATIONMANAGER_H
